package com.onenine.app.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * 动态
 */
public class DynamicItem extends SpcCount implements MultiItemEntity {

    private String dynamicDesc;
    private int sex;
    private String address;
    private String nickName;
    private String userId;
    private String dynamickPkId;
    private String pvUrl;
    private String photo;
    private String date;
    private int dynPower;
    private int pvType;
    private int spanType = -1;

    public String getDynamicDesc() {
        return dynamicDesc == null ? "" : dynamicDesc;
    }

    public void setDynamicDesc(String dynamicDesc) {
        this.dynamicDesc = dynamicDesc;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address == null ? "" : address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getNickName() {
        return nickName == null ? "" : nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserId() {
        return userId == null ? "" : userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDynamickPkId() {
        return dynamickPkId == null ? "" : dynamickPkId;
    }

    public void setDynamickPkId(String dynamickPkId) {
        this.dynamickPkId = dynamickPkId;
    }

    public String getPvUrl() {
        return pvUrl == null ? "" : pvUrl;
    }

    public void setPvUrl(String pvUrl) {
        this.pvUrl = pvUrl;
    }

    public String getPhoto() {
        return photo == null ? "" : photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public int getDynPower() {
        return dynPower;
    }

    public void setDynPower(int dynPower) {
        this.dynPower = dynPower;
    }

    public int getSpanType() {
        return spanType;
    }

    public void setSpanType(int spanType) {
        this.spanType = spanType;
    }

    public int getPvType() {
        return pvType;
    }

    public void setPvType(int pvType) {
        this.pvType = pvType;
    }

    public String getDate() {
        return date == null ? "" : date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public int getItemType() {
        return pvType;
    }

}
